﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using YJ_Core.Entities.Utils;

namespace YJ_Core.Entities.User
{
    /// <summary>
    /// 邮箱验证实体
    /// </summary>
    public class VerificationCode : BaseEntities
    {
        /// <summary>
        /// guid
        /// </summary>
        public string Id { get; set; }

        /// <summary>
        /// 验证码
        /// </summary>
        public string Code { get; set; }

        /// <summary>
        /// 验证码类型
        /// QQ
        /// 163网易
        /// </summary>
        public string Type { get; set; }

        /// <summary>
        /// 是否被使用
        /// </summary>
        public bool IsUse { get; set; }

        /// <summary>
        /// 邮箱
        /// </summary>
        public string MailBox { get; set; }
    }
}
